package cn.bgs.service.impl;

import cn.bgs.pojo.ThematicActivities;
import cn.bgs.mapper.ThematicActivitiesMapper;
import cn.bgs.service.ThematicActivitiesService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 专题活动表 服务实现类
 * </p>
 *
 * @author Mr.Zhao
 * @since 2022-08-08
 */
@Service
public class ThematicActivitiesServiceImpl extends ServiceImpl<ThematicActivitiesMapper, ThematicActivities> implements ThematicActivitiesService {

    @Autowired
    private ThematicActivitiesMapper thematicActivitiesMapper;

    @Override
    public Integer seletecount(QueryWrapper<ThematicActivities> queryWrapper) {
        return thematicActivitiesMapper.selectCount(queryWrapper);
    }
}
